APACHE

Logotyp för Apache

Webbplats

Apache.org Httpd Logotyp för Tomcat ™ Logotyp för Tomcat Logotyp för Log4j Logotyp för APACHE ANT

Program

Fil

.htaccess

Citat

HTTP server

Version av Apache

Debian/Ubuntu

apache2 -v

CentOS/RHEL/Fedora

httpd -v

Hjälp av Apache

Debian/Ubuntu

apache2 -h

CentOS/RHEL/Fedora

httpd -h

Lista moduler för Apache

Debian/Ubuntu

apache2 -l

CentOS/RHEL/Fedora

httpd -l

Dokomentation av Apache

Debian/Ubuntu

man apache2

CentOS/RHEL/Fedora

man httpd Läs mer

Socket File

/Applications/MAMP/tmp/mysql/mysql.sock

Data Files

/Applications/MAMP/db/mysql/

Base Directory

/Applications/MAMP/Library/

Error Log

/Applications/MAMP/logs/mysql_error_log

Host

/etc/hosts

Virtual hosts

/Applications/MAMP/conf/apache/httpd.conf /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf

Server

/etc/httpd/sites-available/example.com /etc/apache2/sites-available/default /etc/httpd/conf/httpd.conf sudo service httpd restart

OS X

/etc/init.d/apache2 start /etc/init.d/apache2 restart /etc/init.d/apache2 stop
service apache2 start service apache2 restart service apache2 stop
sudo apachectl start sudo apachectl restart sudo apachectl stop
sudo apachectl -k start sudo apachectl -k restart sudo apachectl -k stop

MySQL

/Applications/MAMP/Library/bin/mysql --host=localhost -uuser -p use databas; source /Users/user/db.sql

Moduler

  • DocumentRoot
  • NameVirtualHost
  • ServerAlias
  • ServerName
  • ServerPath
  • VirtualHost
Cordova logotyp Open office logotyp Subversion logotyp

Förkortningar

  • SVN - Subversion

Förvald port i MAMP (1-65535)

8888 NginX logotyp

Liknande

Externa länkar

Naomi Rapache